[BLKBACK] Output statistics to sysfs.
authorkfraser@dhcp93.uk.xensource.com <kfraser@dhcp93.uk.xensource.com>
Wed, 28 Jun 2006 09:32:43 +0000 (10:32 +0100)
committerkfraser@dhcp93.uk.xensource.com <kfraser@dhcp93.uk.xensource.com>
Wed, 28 Jun 2006 09:32:43 +0000 (10:32 +0100)
commita99e645031f784eda9717fbdf9afccb89162f4c6
tree97f691d571ec63b09aa297a6045eeb3edf982e96
parent73e44d2f08a90e54f68be359c0a89e9a4855dcee
[BLKBACK] Output statistics to sysfs.

The location is 'statistics' directory under each VBD directory, for
example, /sys/devices/xen-backend/vbd-x-xxxx/statistics.

The 'statistics' directory includes the following three statistical
information:
  oo_req
       is the number of requests held up due to full pipeline.
  rd_req
       is the number of processed READ requests.
  wr_req
       is the number of processed WRITE requests.

Signed-off-by: Satoshi UCHIDA <s-uchida@ap.jp.nec.com>
linux-2.6-xen-sparse/drivers/xen/blkback/xenbus.c